﻿using System.Web.UI;
using System.Web.UI.WebControls;

namespace AutoStopApp.ServerControls
{
    public class CustomGridNoRecordsTemplate : ITemplate
    {
        public void InstantiateIn(Control container)
        {
            var lblNoRecordText = new Label { Text = "Neboli nájdené žiadne záznamy" };
            container.Controls.Add(lblNoRecordText);
        }
    }
}